<{if $setting.limit neq 0}>
<style type="text/css">
.scrollable{position:relative;width:225px;}
.scrollable .prev, .scrollable .next {position: absolute;right:5px;cursor: pointer;width:12px;height:12px;line-height:12px;text-align:center;}
.scrollable .prev { top: -20px;}
.scrollable .next { top: -5px;}
.scroller {position: relative;width: 225px;height: 260px;overflow: hidden;}
.topreviews-comment li{	height:54px;overflow:hidden;border-bottom:1px dashed #ccc;padding:10px 0 0 5px;}

</style>
<{assign var=defaultImage value=$data.0.defaultImage}>
<div class="topreviews-comment section scrollable Auto_Widget"  data-widget-type="Switchable"  data-widget-config="{effect:'scrolly',viewSize:[225,260],steps:4,hasTriggers:false,haslrbtn:true}">
	<div class="prev">&lt;</div>
	<div class="next">&gt;</div>
	<div class="scroller">
		<ul class="switchable-content">
			<{foreach from=$data item=item key=key}>
			<li><a href="<{link app=b2c ctl=site_product act=index arg=$item.type_id}>" target="_blank" class="cmt_item" title="<{$item.comment}>"><{$item.comment|cut:$setting.content_length}></a></li>
			<{/foreach}>
		</ul>
	</div>
</div>
<{/if}>
